package com.zyg.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zyg.dao.ClassMapper;
import com.zyg.pojo.Class;
import com.zyg.pojo.EchartsData;
import com.zyg.service.ClassService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("classService")
public class ClassServiceImpl extends ServiceImpl<ClassMapper, Class> implements ClassService {

    @Autowired
    private ClassMapper classMapper;
//
//    @Override
//    public List<Class> list(IPage<Class> page,  QueryWrapper<Class> qw) {
//        // 调用ClassMapper中定义的selectClassListWithGrade方法
//        return classMapper.selectClassListWithGrade(page, qw);
    //  }
  //  @Override
//    public List<EchartsData> getGradeIndexData() {
//        return classMapper.getGradeIndexData();
//    }
}
